[profiler] Use g_strerror () instead of strerror ().