[PDI-13080][5.2] When no records get sent to a PMR Reducer, the PMR Job Fails with Null Pointer Exceptions

Backport of https://github.com/pentaho/pentaho-kettle/pull/827 to 5.2