habanalabs/gaudi: fix shift out of bounds
In the Linux kernel, the following vulnerability has been resolved:
When validating NIC queues, queue offset calculation must be performed only for NIC queues.