2013-04-16  Sharath Kamath  <s.kamath@samsung.com>

        getBuildLogInfo fails if log is too long
        Issue #188

        Reviewed by Igor.

        When build log is more than 1024 characters (this can happen if a
        typo is made at the beginning of a large program, getting build log
        fails with a INVALID_VALUE error.

        Also add a additional param to ComputeContext::getXXXInfo() API.
        Mapping it with OpenCL clGetXXXInfo() API.

        No new tests (OOPS!).

        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::getWorkGroupInfo):
        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::WebCLProgram::getBuildInfo):
        * platform/ComputeContext.h:
        (ComputeContext):
        (WebCore::ComputeContext::getWorkGroupInfo):
        (WebCore::ComputeContext::getBuildInfo):
        * platform/ComputeTypesTraits.h:
        (WebCore):
        (BuildInfoFunctor):
        (WebCore::BuildInfoFunctor::operator()):
        (WebCore::ComputeBuildInfo::get):
        (WebCore::getInfoHelper):
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::getBuildInfoBase):
        (WebCore::ComputeContext::getWorkGroupInfoBase):