[OPTIQ-408] Make FieldTrimmer work with RelNode base classes