Add a check that we do not set intrinsic type `kNone`.

Bug: 228049006
Test: art/test.py --host
Change-Id: I9cb36954d6f3215d5c9c8aab9f23cae4c66fa6b7
1 file changed