Add test coverage for array to pointer decay in non-type template parameters.

Functionality committed in r172585 but tested the function case without the
array case.
PR15360: nullptr as a non-type template argument to a function type non-type template parameter