Bug fix in InjectHelper

Parameter types must be updated after changing signature, otherwise
SimplifyMacros will fail on instructions with a parameter as operand.