Added argument validation in WebCLPlatform.getDevices