TEIID-2689 adding support for regproc cast