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