Check if gcc supports -Wno-unused-but-set-parameter.