[PATCH 5.14 034/432] soc: qcom: aoss: Fix the out of bound usage of cooling_devs