winsys/drm: Fix out of scope variable usage