pkg/ipc: remove use of unsafe
pkg/ipc: remove use of unsafe

Unsafe is, well, unsafe.
Plus it fails under the new checkptr mode in go1.14.
Remove some uses of unsafe.

google/syzkaller,google/syzkaller,google/syzkaller,xairy/syzkaller,xairy/syzkaller,google/syzkaller,xairy/syzkaller,xairy/syzkaller,xairy/syzkaller,google/syzkaller,google/syzkaller,xairy/syzkaller,xairy/syzkaller,google/syzkaller