[PATCH 5.15 209/917] drm/amd/display: Fix null pointer dereference for encoders