JavaCL: avoid some NPEs in CLProgram.getProgramBuildInfo (issue #479)