[PATCH 3.19-rc1 v3] arm: perf: Prevent wraparound during overflow