freedreno+drm-shim: shim hardening for fuzzing
I've been doing some virglrenderer fuzzing (virgl/virglrenderer!795 (merged)) using drm shim. OFC half the issues it found were drm-shim issues. This MR fixes the issues that the fuzzer has found thus far.