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.

p.s. I'm not sure if the ECL code should be added to the regression suite since it is incorrect.

Signed-off-by: jamienoss <james.noss@lexisnexis.com>