treewide: Introduce support for missing g_memdup2
20 files changed