vppinfra: Put clib_perf* behind Linux checks and provide stubs for FreeBSD