HPCC-2998 Some calls to getRecordSize(NULL) remain

Removed some calls in dead code.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>