Replace UNPACK_CB64 macro with inline