simpleperf: add event check for --trace-offcpu option.

This is to improve error message for
https://github.com/android/ndk/issues/1227.

Bug: none
Test: run simpleperf_unit_test.
Change-Id: Ic74dce593ed9184911350a8a3a62e9c8839cb815
3 files changed