[19/77] Add a smallest_int_mode_for_size helper function