vio: Change type of the flags parameter of mowgli_vio_{has,set}flag() to unsigned

The `flags` in `struct _mowgli_vio` is unsigned, this causes warnings with -Wsign-conversion

Discovered while compiling atheme with -Wsign-conversion, this caused warnings in all compilation units.