VMCI: Guard against overflow in queue pair allocation