configure.ac:
    Fix two problems.

    If the C compiler supports options to disable macro expansion tracking
    and caret error messages, use them when using the constructs (labels,
    i.e. goto targets) that would generate the messages we want to filter out.

    Do not use environment variable values appropriate to the to-be-installed
    Mercury compiler when testing the already-installed Mercury compiler.