Move definition to proper location

2 jobs for !60 with g_memdup2 in 3 minutes and 5 seconds (queued for 1 second)
latest merge request