Change all g_memdup() to g_memdup2()
Using g_memdup() is dangerous due to the type of the size argument. See glib#2319 (closed) and glib!1926 (merged) for details.
Needs mutter!1708 (merged) to finish its pipeline so the container image can be used here, thus the pipeline will likely initially fail.