set TargetOptions before passing to createTargetMachine

When testing MIPS ABI, I found that LLVM generated FP instructions even though soft-float was set.

It seems that options do not have any effect if we set them after createTargetMachine.