fn try_as_const_integral(v: &Value) -> Option<&ConstantInt>