JavaCL: found major bug in CLProgram (issue #397)