Fix detection of built-in numeric types for BsonSeriailizer.

This fixes serialization of Nullable!T.