[PATCH v2] soc: qcom: aoss: Fix the out of bound usage of cooling_devs