Cast bson_oid_generated_time to int32 to work around bson.c bug.