[openEuler-5.10 023/303] soc: qcom: aoss: Fix the out of bound usage of cooling_devs