Fix Issue 12094 - typeof(null) should convert to reference types