nic_uio: fix thread structure compatibility for future FreeBSD