Resolve alignment issues when unpacking buffers

cmr=v1.8.3:reviewer=jsquyres