Fixup -Wno-pedantic support detection (commit 1d30787b58).