swtpm_ioctl: Only close file descriptor if >= 0 (Coverity)

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
1 file changed