examples/netmap_compat: fix overflow in ioctl operation