asyncappender.cxx: Throw exception when we cannot instantiate appender.
Fix flags variable hiding base class' flags member warning.