Adapt to API changes in foreign inference.

This corresponds to API changes in the output parameter analysis
introduced in
travitch/foreign-inference@40971c5af627a4e7da0691192de2253b764d6b01.