context: general cleanup.

Use BSON_GNUC_CONST to loader can patch in result instead of function call.
General whitespace cleanup.