runtime: for FFI, treat directIface types as pointers

This only matters on systems that pass a struct with a single pointer
field differently than passing a single pointer.  I noticed it on
32-bit PPC, where the reflect package TestDirectIfaceMethod failed.

Change-Id: I7f1459cc41323202f7f54499b6938d1bacc38d1f
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/195878
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
1 file changed