[PATCH 5.4] perf/x86/intel/pt: Fix buffer full but size is 0 case