[ext] fixed php 5.2 ZTS builds
[ext] fixed php 5.2 ZTS builds

zend_hash_apply_with_arguments and its callback argument do not have a
TSRMLS in php 5.2.

iKwinto/Twig,Rvanlaak/Twig,nicolas-grekas/Twig,jamessingizi/Twig,huang53798584/Twig,loi-chuanoi/Twig,gamernetwork/Twig,Tobion/Twig,craue/Twig,nicolas-grekas/Twig,bocharsky-bw/Twig,hason/Twig,framewr/Twig,Tobion/Twig,znerol/Twig,derickr/Twig,phansys/Twig,phansys/Twig,znerol/Twig,hhamon/Twig,apishka/templater,twigphp/Twig,moltin/Twig,moufmouf/Twig,iKwinto/Twig,fsw/Twig,hhamon/Twig,nicolas-grekas/Twig,Tobion/Twig,Rvanlaak/Twig,dkarvounaris/Twig,jamessingizi/Twig,derickr/Twig,hason/Twig,moufmouf/Twig,fsw/Twig,twigphp/Twig,nicolas-grekas/Twig,nicolas-grekas/Twig,gencer/Twig,framewr/Twig,znerol/Twig,framewr/Twig,bocharsky-bw/Twig,markstory/Twig,gamernetwork/Twig,hason/Twig,dkarvounaris/Twig,robregonm/Twig,twigphp/Twig,sstok/Twig,sstok/Twig,Rvanlaak/Twig,jamessingizi/Twig,fsw/Twig,huang53798584/Twig,markstory/Twig,robregonm/Twig,robregonm/Twig,dkarvounaris/Twig,gamernetwork/Twig,apishka/templater,hhamon/Twig,moltin/Twig,moltin/Twig,bocharsky-bw/Twig,craue/Twig,iKwinto/Twig,moufmouf/Twig,gencer/Twig,derickr/Twig,peterkokot/Twig,peterkokot/Twig,huang53798584/Twig