perf_events: Fix read() bogus counts when in error state