[Fortran] Don't add -Werror=date-time for flang
At the moment, flang doesn't support -Werror=date-time, so we
shouldn't add it if the Fortran compiler is set to flang. This shouldn't
affect any other compiler (and especially not C/C++ ones).
Differential Revision: https://reviews.llvm.org/D126951