Add OpenCL 1.2 error codes to runtime_exception

This adds support for the OpenCL 1.2 error codes to the
runtime_exception class.
Update image2d/3d constuctors for OpenCL 1.2

This updates the constructors for the image2d and image3d
classes to use the new clCreateImage() function instead of
the deprecated clCreateImage2D/3D() functions.