[PATCH 4.14 165/183] perf intel-pt: Fix overlap calculation for padding