Use -Wno-deprecated-register on clang 3.4+ or Apple clang 5.1+ only (bug 6164).
Merge pull request #58 from alliedmodders/bug6164

Use -Wno-deprecated-register on clang 3.4+ or Apple clang 5.1+ only (bug 6164, r=psychonic).