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

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