[WFCORE-484] Remove no longer needed cast to AbstractResourceRegistratio...

...n
Thanks. That's what I get for doing this in a rush before a conf call.