[PATCH 5.17 0466/1126] drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()