HPCC-12446 Prevent a potential deadlock in IRowMultiWriterReadero

Also, common up some code in this area.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>