[PATCH 4.14 15/49] perf intel-pt: Fix overlap detection to identify consecutive buffers correctly