Add the to_device method to the array_api
Add the to_device method to the array_api

This method is new since #18585. It does nothing in NumPy since NumPy does not
support non-CPU devices.

cupy/cupy,cupy/cupy,cupy/cupy,cupy/cupy