BUG: For R testing template enums for cast filter corrected
BUG: For R testing template enums for cast filter corrected

Priviouly just a string was passed for the pixel id or int. This was
expected to get converted from an enum then to an integer for the
parameter. However, this was just segfaulting. A interm solution of
just use Renum_get() methods was used to get the interger.

SimpleITK/SimpleITK,SimpleITK/SimpleITK,blowekamp/SimpleITK,SimpleITK/SimpleITK,hendradarwin/SimpleITK,hendradarwin/SimpleITK,richardbeare/SimpleITK,SimpleITK/SimpleITK,richardbeare/SimpleITK,kaspermarstal/SimpleElastix,richardbeare/SimpleITK,InsightSoftwareConsortium/SimpleITK,hendradarwin/SimpleITK,SimpleITK/SimpleITK,blowekamp/SimpleITK,SimpleITK/SimpleITK,hendradarwin/SimpleITK,InsightSoftwareConsortium/SimpleITK,blowekamp/SimpleITK,richardbeare/SimpleITK,hendradarwin/SimpleITK,kaspermarstal/SimpleElastix,kaspermarstal/SimpleElastix,kaspermarstal/SimpleElastix,richardbeare/SimpleITK,SimpleITK/SimpleITK,hendradarwin/SimpleITK,blowekamp/SimpleITK,InsightSoftwareConsortium/SimpleITK,hendradarwin/SimpleITK,hendradarwin/SimpleITK,InsightSoftwareConsortium/SimpleITK,InsightSoftwareConsortium/SimpleITK,SimpleITK/SimpleITK,kaspermarstal/SimpleElastix,richardbeare/SimpleITK,InsightSoftwareConsortium/SimpleITK,blowekamp/SimpleITK,InsightSoftwareConsortium/SimpleITK,richardbeare/SimpleITK,blowekamp/SimpleITK,kaspermarstal/SimpleElastix,blowekamp/SimpleITK,InsightSoftwareConsortium/SimpleITK,kaspermarstal/SimpleElastix,blowekamp/SimpleITK,richardbeare/SimpleITK