Don't try to use -Wno-deprecated-register with Clang.

It doesn't work.