Respect `pbyte_offset` when marshalling pointers

Proposing a fix for #165.