[openEuler-5.10 315/496] RDMA/hfi1: fix potential memory leak in setup_base_ctxt()