Runtime.callMethod fix

Fix Runtime.callMethod failing when there are multiple overloads and passing null as one of the reference type parameters

(Trying again with this PR, as I got a weird error last time.)