Add AllowNullLiteralAttribute(false) to erased types with constructors (#645)