backends/drm: also clean up pending commits with legacy modesetting
The thread is only created with atomic modesetting, but m_committed is set with legacy modesetting too, so it also has to be dealt with.
This should address remaining cases of https://crash-reports.kde.org/share/issue/c27bccb6794a48349b42b70a4e655619/