Bug 876876: Fix race condition in DeviceInfoDS::GetDeviceInfo()/GetDeviceFilter() r=bas,jesup