Add a deprecation warning to AbstractModule::loadYamlConfig()