[PATCH 6.12 39/49] samples: work around glibc redefining some of our defines wrong