Mask off bits from converted bytes for compilers that range check