correctly use BSON_STATIC_ASSERT

STATIC_ASSERT's go at the file level, not within a function body