fix bug in `isPinned()` and `pin()`
fix bug in `isPinned()` and `pin()`

With the renaming of the namespaces in #1173 some calls to the traits
are broken.
Instead of calling the trait the local member function is called again.

BenjaminW3/alpaka,BenjaminW3/alpaka