Fix MPI_Status_set_elements[_x] for non predefined datatypes

Fixes #4896

cmr=v1.8.3:reviewer=bosilca