Rewrite GSS sequence state tracking code

Replace util_ordering.c with a new file util_seqstate.c, implemented
using a bitmask of previously received sequence numbers instead of a
20-element circular queue.