configure: clarify meaning of CXX environment variable

CXX is now used purely to set the compiler executable. This also
introduces a new CXX_ARGS variable to set the command-line arguments in
case these differ from gcc.

Documentation also updated to match and to remove previous
inconsistencies in the handling of the CXX variable.