common: Use GPG_ERR_INV_VALUE instead of GPG_ERR_EINVAL.