Made the phpt tests report a failure exit code

Without the REPORT_EXIT_STATUS environment variable, running phpt tests on the extension will always report a success exit code, which does not make the build fail on failure