Moodle.2x mod/reader fix small issue with undeclared counrsecontext in upgrade script