Fix memory leak when image accessor fails to construct
Make sure to free any already allocated memory before allowing an
exception to propagate out of the constructor because the destructor
will not be called on the non-completely-constructed ImageReadAccessor
object.
Signed-off-by: Taylor Braun-Jones <taylor.braun-jones@ge.com>