Propagate DRI/DRM workaround to syscallbuf, and clean up ioctl handling a bit.
Merge pull request #255 from cgjones/ioctl-cleanup

Propagate DRI/DRM workaround to syscallbuf, and clean up ioctl handling a bit.