[PATCH 6.6 016/201] perf session: Fix handling when buffer exceeds 2 GiB