libbsdstat: fix warnings, set WARNS

libbsdstat can build with WARNS=6 with a one line change.