Make pick_copy_work_group_size() inline

This makes the pick_copy_work_group_size() function inline.
Add default constructors to image2d and image3d

This adds default constructors to the image2d and image3d
classes which initialize them with null memory objects.