WebCLContext: implement dot product