mod/journal/edit: redirect using moodle_url

redirect() was sending browser to "http://view.php...". Adding the moodle_url class to generate the url redirects to the correct page.