MFC r325650: Add const keyword to input-only argument in mlx5 core.
Sponsored by: Mellanox Technologies