[ARM] Oprofile: dynamically allocate counter_config