block: fix incorrect branching in blk_max_size_offset()