Ensure that PY_ARRAY_UNIQUE_SYMBOL is uniquely defined for each extension

By using a unique symbol for each extension we prevent multiple definition linking errors which arise when statically linking a Python interpreter.

Closes gh-2039.