2014-01-14  Sharath Kamath  <s.kamath@samsung.com>

        Enqueue* API boundary checks.

        Issue #408

        Reviewed by NOBODY (OOPS!).

        Part 1 of changes only dealing with enqueueWriteBuffer* API's.

        No new tests (OOPS!).

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueWriteBufferBase):
        (WebCore::WebCLCommandQueue::enqueueWriteBuffer):
        (WebCore::WebCLCommandQueue::enqueueWriteBufferRectBase):
        * Modules/webcl/WebCLInputChecker.cpp:
        (WebCore::WebCLInputChecker::isValidLengthForRegion):
        * Modules/webcl/WebCLInputChecker.h:
        * Modules/webcl/WebCLMemoryObject.h:
        (WebCore::WebCLMemoryObject::sizeInBytes):