[sr-dev] git:sr_3.0: compile: don't warn on old gcc versions