Comparing Coulomb explosion dynamics of multiply charged triatomic molecules after ionization by highly charged ion impact and few cycle femtosecond laser pulses