drm/rockchip: psr: do not dereference encoder before it is null checked.