Bit packing C macros