Throw exceptions and abort rendering in Natron when an image cannot be
allocated