Cherry-picked commits after 1.11.3: open-mpi/hwloc@9549fd59af04dca2e2340e17f0e685f8c552d818 open-mpi/hwloc@0ab7af5e90fc2b58be30b2126cc2a73f9f7ecfe9