Fix how we check whether events are enabled via LTTng (dotnet/coreclr#22707)
* Fix how we check whether events are enabled via LTTng
* Add GCToEEInterface::UpdateGCEventStatus
* Fix build errors
* Finished hooking it up to post_gc
* Some comments about the event keyword/level detection logic
* Fix windows build
* Fix Prv provider keyword logic
* forgot to add one more ifdef
* Fix OSX build
* one more ifdef to fix
* Addressing PR feedback
* Update GCEventStatus at gc_heap::initialize_gc too
Commit migrated from https://github.com/dotnet/coreclr/commit/
4685a1e008ad7cf4118e8778d89e63d87ca5b7b6