Fixing bug where null PAPI entries would not be properly written when PAPI is disabled on a system but PAPI events are being recorded.