This backports 43f37894 to gtk3 which was part of !188 (merged) originally.
clang v16 got stricter and now fails with (32bit only)
gtk/updateiconcache.c:109:14: error: incompatible function pointer types passing 'int (const char *, const GStatBuf *, int)' (aka 'int (const char *, const struct _stat32 *, int)') to parameter of type 'int (*)(const char *, const struct _stat64 *, int)' [-Wincompatible-function-pointer-types]
Turns out this was already fixed for gtk4 a long time ago.