macros: add BSON_GNUC_CHECK_VERSION() macros.

These should vastly cleanup some version checks throughout the codebase.