SERVER-14668 make getLockMode/isLockHeldForMode pure virtual