Aligns the given offset to multiples of alignmentBytes bytes by rounding up. The alignment must be a power of 2.
offset
alignmentBytes