drm/amd/display: fix gcc set but not used warning of variable 'old_plane_state'