ScalaCL3: OpenCL code flattening nearly works as before