IB/mlx5: Use MLX5_GET to correctly get end of padding mode