sdm: Add panel mode check for setting new active mode

The resolution and frame rate might be the same between
video mode and command mode.
This change adds panel mode check to avoid selecting
wrong mode.

Change-Id: I35d5a39f08a89b2cec78ecb894871ceb6f0948b9
1 file changed