ioctl_tree: Implement execution

Add ioctl_tree_execute() to find an ioctl in an ioctl_tree, and execute it
(adjusting arg and returning expected value).