[PATCH 6.16 366/627] RDMA/hns: Fix HW configurations not cleared in error flow