Define __restrict__ and __restrict as synonyms for restrict.

C99/C11 defines only restrict, but popular compilers including GCC
define these synonyms (so that you can use __restrict in C++, in
which restrict keyword is not a part of the language standard).
Move alternate keywords to a header file and add a few more.