[kernel] fix building of perf for arm on uclibc