tests/vlock-test.c: add missing error path