State ids are 64 bits (a counter stored in network byte order) and the
GETSTATES dump sends PF_ST_ID as a u64, but a GETSTATES request parsed
it as a u32. An id taken from the dump was rejected with EINVAL, and
the 4-byte id the kernel did accept could not name a state on a
little-endian host: the low 32 bits of a stored id are 0 until the
counter passes 2^32, and an id of 0 selects the full dump.
Parse PF_ST_ID as a u64, as the dump sends it.
Fixes: 2cef62886dc7 ("pf: convert state retrieval to netlink")
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")