flash_list: Make sector size type safe