blk_unpack: simplified struct unpack