Guard inclusion of <arch/perf.h> in pbuf.c on relevant options.
Guard inclusion of <arch/perf.h> in pbuf.c on relevant options.

openweave/openweave-core,openweave/openweave-core,openweave/openweave-core,openweave/openweave-core,openweave/openweave-core,openweave/openweave-core