[PATCH 5.4 014/260] soc: qcom: aoss: Fix the out of bound usage of cooling_devs