tests: pm: mgmt_soc: Use PM_STATE_COUNT

Use PM_STATE_COUNT to know the number of existent states.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
1 file changed