write-concern: use constants for write concern checks during freeze.