Show ioctl numbers in hex for debugging
ioctl_wrap_open(): Only consider /dev/*
Fix handling of URB status and missing last ioctl

We must not compare the URB status on submit, but instead set it to the
recorded value on reaping.

Also, when searching the ioctl in the tree, consider the last ioctl again as it
might be the one we previously submitted and now need to reap again.