various small fixes for psm provider, plus add missing definition of FI_MIN_MULTI_RECV.