[PATCH 6.5 308/739] soc: qcom: smem: Fix incompatible types in comparison