Remove use of JDispatcher for removal in Joomla 4.0