[PATCH 4.9 038/329] perf record: Fix failed memory allocation for get_cpuid_str