Pass arch-specific global flags into generate scripts

Without this change x86_64 system calls are incorrectly added
to libsyscalls.c on x86 builds.

Bug: 26384149
Change-Id: I036565f65ce8a26554fe2a9f00a4d22834abea81
1 file changed