Remove unused variable after shared ptr updates.

Remove static_casts in FiniteStrainCrystalPlasticity now that things have the right types.

Refs #1777.
Merge pull request #3711 from jwpeterson/fix_warnings

Fixing warnings
Merge commit 'c20bc684c7a7f234f422f1d941f2e71f2a7d9bd0'