Fixed task reset bug in pagination links

unlike the regular joomla pagination links, where form task is left untouched,
redCORE pagination set the task to '', as it is forcing the form parameter of
submitform function.