ck_hs: Simplify marshal path for inserted pointer.

ck_hs_marshal function has been added which mutates
pointer to appropriate representation for insertion.