Updated deprecated function

Updated "get_context_instance(CONTEXT_SYSTEM);" to "context_system::instance();" on lines 339 and 569 to fix warning: get_context_instance() is deprecated, please use context_xxxx::instance() instead.