bpf: Use the getSubtarget call off of the MachineFunction rather than the TargetMachine