preload: Move to real signature of ioctl()
preload: Move to real signature of ioctl()

Make ioctl() a varargs function to avoid collision with the standard include
files, and pick the first argument.

martinpitt/umockdev,martinpitt/umockdev,martinpitt/umockdev