Update to latest go/types

- Use NewParam in lieu of removed NewFieldVar,
- Remove unused vars from runtime code,
  as they now cause an error in go/types.