[PATCH 1/2] perf events: Fix mmap offset determination