soc: qcom: dcc: avoid memory access violation

When *ppos + len is overflow, shrink len to max readable size
of SRAM.

Change-Id: I7c35433d384eb596a3f84b7ce13652f58166b40a
Signed-off-by: Yuanfang Zhang <zhangyuanfang@codeaurora.org>
1 file changed