fixed the bug PyOpenCLInterface crash bug for some invalid devices.