[WebAssembly] Use the templated form of MachineFunction::getSubtarget(). NFC.

llvm-svn: 258126
2 files changed