SERVER-6219: Use ::mongo in macros

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>