WebCLContext: make asynchronous callbacks work