user-accounts: Fix memory corruption in the avatar popup

Use g_object_set_data_full and g_steal_pointer to ensure the validity of the
"filename" association.

Closes: GNOME/gnome-control-center#399
11 jobs for fix-issue-399 in 7 minutes and 16 seconds (queued for 4 seconds)
latest
Status Job ID Name Coverage
  Build
passed #234506
build

00:02:52

 
  Test
passed #234508
asan

00:04:23

passed #234507
test

00:04:02

 
  Manual
manual #234513
allowed to fail manual
armv8
manual #234509
allowed to fail manual
flatpak
manual #234512
allowed to fail manual
msan
manual #234514
allowed to fail manual
ppc64le
manual #234510
allowed to fail manual
tsan
manual #234511
allowed to fail manual
ubsan
 
  Review
manual #234515
allowed to fail manual
review
manual #234516
allowed to fail manual
stop_review