backends/drm: fix legacy dpms


(cherry picked from commit 4d0998cf)
2 jobs for Plasma/5.24 in 16 minutes and 43 seconds (queued for 13 minutes and 20 seconds)