fixes extbase/fluid OOM Errors

fixes OOM Errors with fluid/extbase (on 6.2b5) where any attempt to create typolink handled by linkhandler will fail with fatal OOM error. 

Solution taken from: 
http://forge.typo3.org/issues/38700 
http://forge.typo3.org/attachments/21507/fluid_loop.patch