Add protected convenience method for LUCENE-887. It neither changes IndexWriter's behavior, nor is this a public API change.