Translate inline assembly errors back to source locations

Fixes #17552.
Could this store `ExpnId` and provide conversion functions? It seems unfortunate to make the inner `u32` public.