Fixed double checking (checking checking for ZTS... configure: error: ...)

Otherwise produces on failed install where ZTS is not present:
checking whether to enable Threading API... yes, shared
checking whether to enable pedantic locking... no
checking checking for ZTS... configure: error: pthreads requires ZTS, please re-compile PHP with ZTS enabled
ERROR: `/var/tmp/pthreads/configure' failed