changed check for Joomla task request var to use JInput library method

In Joomla 3.2.3, the use of $_GET['task'] in mte.php produced an PHP error. In addition, use of the JInput library does extra screening of input variables for security. Since this condition was already checking to see if the CMS is Joomla, it seems appropriate to use the framework method here.