tests: Switch two more uses to LOG_COMPILER to fix parallel-tests

This is similar to previous commits; we need to use LOG_COMPILER in
order for Automake's parallel-tests framework to work.  It's not
allowed to include binaries in TESTS_ENVIRONMENT anymore.