[counters] Edit dump_counter to use mono_counters_sample and accessors

Depends on https://github.com/mono/mono/pull/1022