Use -Wno-deprecated-declarations also for clang builds