Telemetry: Refactored IntPtr -> uint, to improve perf on devices