trivial: Use g_memdup2() on new glib2 versions to avoid a warning
trivial: Use g_memdup2() on new glib2 versions to avoid a warning

hughsie/fwupd,fwupd/fwupd,fwupd/fwupd,hughsie/fwupd,fwupd/fwupd,fwupd/fwupd,hughsie/fwupd,hughsie/fwupd