This patches add support for dynamic sectors to ext partitions. Instead of assuming sector size constans is computed. ldlinux already use sector size dynamically. Change code that rely on sector size == 512 using a new function that accept bytes as argument instead of sectors.