Fix the error handling for the optimized extension-based function calls
Fix the error handling for the optimized extension-based function calls

Triggering a Twig_Error_Runtime at compile-time breaks the contract of the
Twig environment, as such exception is for errors during the rendering.

twigphp/Twig,twigphp/Twig,twigphp/Twig