pmi: correctly handle NULL OPAL_BYTE_OBJECT object

This is a backport of open-mpi/ompi@7508c6f3ad56a06f26d0d573c1b0860ad0170153

https://github.com/open-mpi/ompi/issues/235

@rhc54 could you please review this ?