fix: sentry_register and sentry_unregister functions should have sentry_refs_t argument.