Fix autopkgtests following dpkg changes
In Ubuntu oracular dpkg got changes to include packaging metadata in the compiled ELFs.
This change breaks compiling the graphite2 test suite in autopkgtest with c++: fatal error: environment variable ‘DEB_HOST_ARCH’ not defined
This change addresses the build fail by ensuring the environment variables are set.
This is merged in ubuntu; contributing back to debian.