2013-08-14  Sharath Kamath  <s.kamath@samsung.com>

        Fix WebCLMemoryObject::getInfo(MEM_ASSOCIATED_MEMOBJECT)
        Issue #275

        Reviewed by Antonio.

        As per OpenCL specification [http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetMemObjectInfo.html]
        Return memory object from which memobj is created.
        This returns the memory object specified as buffer argument to clCreateSubBuffer.
        Otherwise a NULL value is returned.

        So we need to store the parent WebCLMemoryObject when creating each sub-buffer.

        Also removing the extra buffertype parameter added by commit 115a8389369bb00240eca6dfd54ccee77158a651
        as the same m_parentBuffer can be used for the same.

        conformance/computeinfo/cl_memoryObject_getinfo.html
        conformance/buffimgs/cl_buffer_createSubBuffer.html
        [https://github.com/SRA-SiliconValley/webkit-webcl-conformance]

        * Modules/webcl/WebCLBuffer.cpp:
        (WebCore::WebCLBuffer::WebCLBuffer):
        (WebCore::WebCLBuffer::createSubBuffer):
        * Modules/webcl/WebCLBuffer.h:
        * Modules/webcl/WebCLMemoryObject.cpp:
        (WebCore::WebCLMemoryObject::WebCLMemoryObject):
        (WebCore::WebCLMemoryObject::getInfo):
        * Modules/webcl/WebCLMemoryObject.h: