pub const fn average_u64(a: u64, b: u64) -> u64
Calculate average of two u64 values without overflow.