HPCC-9847 ECLCC crash due to dynamic record type within a MODULE

The fix here is only temporary, to prevent the crash. Really the grammar/syntax
should be changed to force (possibly implicitly) dynamic record types as VIRTUAL
types when passed as a function argument.

Signed-off-by: jamienoss <james.noss@lexisnexis.com>