perf tools: Include errno.h where needed