drm/rockchip: fix some warning from smatch check