Fix absolute path generation into (not installed) header
This fixes a Yocto QA issue which checks that all build artifacts do not contain any absolute path reference to the build folder. Although this is not a public header, the absolute path can cause problems when splitting the debug symbols and analyzing coredumps on a different host system.