index-pack: correct "len" type in unpack_data()