Add check for shapshotrestore to not give false possitive for deadlock.

This is for ENG-4934
Check for SnapshotRestore in progress and skip detecting deadlock.
https://issues.voltdb.com/browse/ENG-4934