[PATCH v2 6/8] ntoskrnl: Add checks for DEVICE_OBJECTs passed into various PnP functions.