A well-balanced approximate Riemann solver for variable cross-section compressible flows