Revert "gobject: Use g_datalist_id_remove_multiple"
This reverts commit fa8c7c0d "gobject: Use g_datalist_id_remove_multiple" (or more specifically the parts of it that were not already reverted in 01ac1d90 "gobject: Fix crash when disposing a GtkAccelGroup".
Workaround for #2676 (closed)