drm/nouveau: fix up 32-bit ioctls and device wake up.