aoc: Fix the device check for power commands in aoc_channel_dev.

CTS Sensor/DeviceSuspendTests was failing because the device fails
to enter the suspend state.

Bug: 288985122
Fix: 288985122
Test: Validated CTS passes.
Change-Id: I1cfdae577e8e3636795afc9b900b50585db6da5a
Signed-off-by: Luis Delgado De Mendoza <luisddmg@google.com>
1 file changed