Get flush_on_overflow from semantic configuration

Get flush_on_overflow parameter from configuration and inject it into BufferHandler::__construct $flushOnOverflow parameter.