IB/ehca: fix handling idr_alloc result