backends/drm: don't call QThread::currentThread in a loop
We're always in the same thread, so there's no need to check it
(cherry picked from commit 56fc8f83)
We're always in the same thread, so there's no need to check it
(cherry picked from commit 56fc8f83)