Avoid buffer overrun in capget.

The code asserted V1 of the capabilities interface, when
in fact it must check.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>