thread.cpp: Expand a PAPI error message