This matches Builder::getI32VectorAttr.
Let me know if you want me to add a unittest. Couldn't find any intree users to update.
AFAIR, you can just do `DenseIntElementsAttr::get``` - you don't need the trailing cast. The method right above can also be fixed the same way.
LGTM after resolving Uday's comment.
Update for Uday's comment.