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