HPCC-7866 - Use CInterfaceOf instead of double inheritance

Saves a few % points of memory

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>