build: fix numfmt build error on compilers without __attribute