platforms/drm: fix crashing debug operator
While working on autotests for the drm platform I managed to consistently trigger a segfault in drm_object.cpp, when drmModeAtomicAddPropery
fails. I'm not exactly sure why it crashes but how it's with this MR is how Qt documentation has it, and this works.