[openEuler-5.10-LTS 336/501] RDMA/mlx5: Add missing check for return value in get namespace flow