[PATCH 4.14 16/49] perf intel-pt: Fix sync_switch