mscash2-opencl: fixed warnings and other issues