Ensure that an invalid value passed to target parser does not cause an assertion in +Asserts builds. Supporting test for PR26839. llvm-svn: 262780