fn align_to_power_of_2(val: u64, align_log: u8) -> u64
Round val up to the next multiple of 2**align_log.
val
align_log