Improve the DebugRenderer API by passing the IDeviceCommandContext as a reference instead of calling g_Renderer. Fixes: #6650