CDRIVER-407 only include GLE in write concern when needed

if we're not going to call this from outside this file, let's make it static and not export the declaration in the -private header