Simplify some error handling by assuming a >=3.4 kernel
v3.4 was released in 2012, every kernel since has that ioctl. So instead of assuming you're running new libevdev on an 8 year old kernel, let's assume that any error from the ioctl() is an actual error and handle it accordingly.
cc @bentiss