Fix unused variable warnings in FiniteStrain*Material (#1777)