Changed `extern crate foo as bar;` error message

I did not put the crate name in the error note, if that's necessary I'll look into it.

Closes #17709
There shouldn't be a space between `string` and `?`.