macros: add BSON_GNUC_INTERNAL to set __attribute__((hidden))