CFLAGS: -Wno-unused-result does not work on gcc < 4.6

refs #3984