[ecl_errors] add a missing virtual destructor