prov/psm: cq_write, wait obj, optimized tsend/trecv and cq event allocation