pass bare variables to BSON_UINTxx_TO_BE macros as they may use its parameter several times
fixes after pull request review
Merge pull request #6 from Maxime2/master

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