qlnx: Fix a couple of type mismatches in function declarations
Reported by: GCC 13 via -Wenum-int-mismatch
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D42586
(cherry picked from commit be909a79a8e2506b49ed81f9bd8115512dd613a4)