net/mlx5: fix hash key size retrieval