xio: secrand: test for -1

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>