Fix af_device_array dims check
Fix af_device_array dims check

shehzan10/arrayfire,umar456/arrayfire,9prady9/arrayfire,munnybearz/arrayfire,victorv/arrayfire,bkloppenborg/arrayfire,hshindo/arrayfire,pentschev/arrayfire,pentschev/arrayfire,merlin-ext/arrayfire,marbre/arrayfire,9prady9/arrayfire,hshindo/arrayfire,munnybearz/arrayfire,merlin-ext/arrayfire,shehzan10/arrayfire,arrayfire/arrayfire,arrayfire/arrayfire,pentschev/arrayfire,ghisvail/arrayfire,9prady9/arrayfire,pentschev/arrayfire,munnybearz/arrayfire,victorv/arrayfire,shehzan10/arrayfire,ghisvail/arrayfire,arrayfire/arrayfire,9prady9/arrayfire,ghisvail/arrayfire,umar456/arrayfire,marbre/arrayfire,victorv/arrayfire,umar456/arrayfire,hshindo/arrayfire,ghisvail/arrayfire,bkloppenborg/arrayfire,marbre/arrayfire,marbre/arrayfire,hshindo/arrayfire,umar456/arrayfire,victorv/arrayfire,merlin-ext/arrayfire,merlin-ext/arrayfire,bkloppenborg/arrayfire,shehzan10/arrayfire,arrayfire/arrayfire,bkloppenborg/arrayfire