flang-aarch64-ubuntu-clang: Refine the set-up for `-WError`

As this builder is primiarly used for testing Flang, use -WError only
when building Flang (as opposed to all of LLVM).

Differential Revision: https://reviews.llvm.org/D88811
1 file changed