gabedit: disable openmp when using clang

Fixes #24467.