Refactor Add InterModeSearchState
Refactor Add InterModeSearchState

The struct InterModeSearchState stores variables that are changed
within the mode search for loop

Each variable changed within the for loop has a prefix inter_dep.

Our final goal is to specify mode-to-mode dependencies in the
code. This is part of the change for the goal.

Coding performance remained unchanged.

Change-Id: I981e608e3db20379e301b4b1e7745d27eb205b92

GrokImageCompression/aom,GrokImageCompression/aom,GrokImageCompression/aom,GrokImageCompression/aom,GrokImageCompression/aom,GrokImageCompression/aom