Bugfix: Correct handling of invocations with corrupt (or missing) images

When pqiv was called as
	./pqiv - - < image
it showed an error message because after it recognized that the second
image was not loadable, it would still attempt to open it a second time,
again finding that it was not loadable but then raise a warning when it
tried to free the (already freed) memory.