net/mlx5: Refactor mlx5_core_mr to mkey