HPCC-9616 Add __ECL_LEGACY_MODE__ to provide information to ecl

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>