build: Fix g_memdup2 implementation for gio < 2.67.4

This is a regression from commit 577dabf7, since there's an extra
parenthesis.
37 jobs for !1263 with fix-gmemdup2 in 3 minutes and 39 seconds (queued for 13 seconds)
latest merge request