SERVER-15331 don't let writeNative be used on non-POD types

Closes #790

Signed-off-by: Benety Goh <benety@mongodb.com>