simpleperf: fix check of opening perf event files. am: 16006b9403
am: 21d78658aa

Change-Id: I39af6aad55a8b89f0196c9aff0c8d91024c6385a