Fix #1341: AgaviSmartyRenderer fails to detect Smarty version 3.1 or later