New blending mode HGEBLEND_DARKEN/BLACKEN, some gcc fixes