intset: move to sized int32s
intset: add basic frame-of-reference encoding

Our sets are always sorted, so this is mostly equivalent to the regular
delta encoding.  Haven't done decode yet.