Fix unused variable warning (#1777)
Merge pull request #4326 from dschwen/dmiwarn_1777

Fix unused variable warning in DerivativeMaterialInterface