SENTRY-275: Fix compilation error in SentryService (Jarek Jarcec Cecho via Prasad Mujumdar)