[PATCH openEuler-5.10 55/82] RDMA/hns: Work around broken constant propagation in gcc 8