Rename the 'flags' argument to getfsstat() to 'flag' and validate it.
This argument is not a bitmask of flags, but only accepts a single value.
Fail with EINVAL if an invalid value is passed to 'flag'.
This is a followup to r308088. I will include the regen'd bits in a
separate followup. Will also bump .Dd on manpage when I actually
commit.