meson: fix cross-compilation issues with gperf header file preprocessing

Pass c_args to the compiler when preprocessing the gperf header file,
they might contain important bits without which compilation/preprocessing
might fail (e.g. with clang on Android). cc.cmd_array() does not include
the c_args and we can't easily look them up from the meson.build file, so
we have to retrieve from the introspection info.

This is basically the Meson equivalent to commit 57103773.
11 jobs for meson-gperf-preprocessing-crosscompilation-android in 8 minutes and 40 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #7317313
meson android arm64 fedora

00:01:44

passed #7317311
gst-macos-10.15
meson macos

00:03:16

failed #7317308
allowed to fail
meson-mingw-w64-build

00:06:34

manual #7317312
docker windows 1809 allowed to fail manual
meson msys2
passed #7317306
meson-shared-build

00:05:58

passed #7317307
meson-static-build

00:05:50

passed #7317309
docker windows 1809
meson vs2017 amd64

00:01:41

passed #7317310
docker windows 1809
meson vs2017 x86

00:01:41

passed #7317305
mingw-build

00:06:46

passed #7317303
shared-build

00:08:40

passed #7317304
static-build

00:06:48

 
Name Stage Failure
failed
meson-mingw-w64-build Build
mktexfmt [INFO]: exiting with status 0
ninja: build stopped: subcommand failed.
Uploading artifacts for failed job
Uploading artifacts...
build-*/meson-logs/*txt: found 1 matching files and directories

WARNING: prefix-*: no matching files
Uploading artifacts as "archive" to coordinator... ok
id=7317308 responseStatus=201 Created token=ArgSAf5g
Cleaning up file based variables
ERROR: Job failed: exit code 1