fdio: Allow using AT_FDCWD with GlnxTmpfile

Add an `initialized` member which means we work by default
in structs allocated with `g_new0` etc. and don't need
a special initializer.  This also fixes a bug where
we need to support `src_dfd == -1` or `AT_FDCWD`.

This fixes flatpak which uses AT_FDCWD.

Modified-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Internal Server Error - Gitea: Git with a cup of tea
500 Internal Server Error

Gitea Version: 1.28.0+dev-477-g8b6ad49a5f