[PATCH 0/7] Misc g_auto() rewrites