CXX-341 remove unneeded null check

gmtptr is a `#define` for `&gmtmem`. `gmtmem` will never be null, which was causing a warning to be emitted in modern compilers as the null check was statically determined to be unnecessary. This removes the unneeded null check.