libumockdev-preload: Proper error message on invalid ioctl files

https://github.com/martinpitt/umockdev/issues/8