MDL-59799 course: Include course/lib.php before using move_courses().