CollectionUtilities: Fix gcc12 warning.
The CollMetaRegistry dtor could in principle result in a write-after-free. However, i don't think it could ever actually be called anyway. Clean up so that the static instance gets properly destroyed at the end of execution.