CRM-14229 Static call to non static method in Joomla

An old static call to JMenu  in civicrm.php throws a warning in current versions of PHP. This replaces it with the correct code from the Joomla API.