MDL-40462 libraries: deprecate get_course_context()