Fix compile error with MSVC

Some (but not all) versions of visual studio seem to have a bug that
causes a syntax error when using the deprecated attribute in a templated
constructor.
13 jobs for deprecate-atomicarrayexec-device in 0 seconds