[pull-req] bld/non gcc, facilitate icc builds

Several tweaks that allow onion to be built with non-gcc compilers (e.g. icc),
in particular when not run in gcc-compat mode (e.g. -std=c99).

Some cosmetical changes are necessary, mostly concerning feature set macros.