stubs: Use correct enum type for state flags
Fixed the alpine build yesterday and now we have a different issue (that's why it's nice to keep tests passing).
Merging right away as it affects test stubs only.
Signed-off-by: Guido Günther agx@sigxcpu.org