[openEuler-5.10-LTS 320/501] RDMA/hfi1: fix potential memory leak in setup_base_ctxt()