Bug 921: fix utilization of bitwise operation on enums in first_aligned