pts-core: Support passing test run error messages to modules via __event_run_error hook