OpenCL: AMD devices have some weird bug when using pinned buffers. Forgotten file: see ec080119f45ffef07f7f1dd36e120ee56d5d6734