Standardize accesses to the TargetInfo in IR-gen.

Patch by Stephen Lin!
Don't propagate around TargetOptions in IR-gen; we don't use it.

Patch by Stephen Lin!