pass bare variables to BSON_UINTxx_TO_BE macros as they may use its parameter several times