Fix a crash when compiling blocks in OpenCL with multiple
address spaces.