fix return check for KVM_GET_DIRTY_LOG ioctl