[counters,proflog] Add support for string counters

Add support for strings in counters and edit proflog accordingly to sample strings counters correctly.

To use counter string, you have to pass a char* (and not a char**), meaning that to change the value of the counters, you have to use strnprintf (value, ...) or equivalent.

Depends on https://github.com/mono/mono/pull/1015