build: use -Wno-format-truncation instead of -Wno-error=format-truncation