[pmix server] Refactor pmix_server_dmdx_recv.
[Compile - OK, Runtime - OK]