Fix reading perfdata in compat/checkresultreader

fixes #7369

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>