common/mlx5: use general object type for cap index
common/mlx5: use general object type for cap index

PRM defines the general object types using positive numbers.
The same values are used as index for the relevant bit in HCA
capabilities general_obj_types bit mask.

Signed-off-by: Dekel Peled <f1921780d3213ef78965aec36396441d9bf8894c@nvidia.com>
Acked-by: Matan Azrad <6969f5f553ad7652679a585a85d7321babc90464@nvidia.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk