[sr-dev] git:5.2:3235a046: Makefile.defs: detect gcc 9.0+, manual backport of 07209c3095d