drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay()