linux-user: Move target_to_host_errno_table[] setup out of ioctl loop