AMP Transform_scan fix for 65535 tile limit issue + fixes in device_vect...

...or for Cl and AMP