Make compressionGoroutine panic-safe again
Make compressionGoroutine panic-safe again

Commit 3250f2da77d61931d38513846f2bb7fbf9352460 removed
the code that ensures the pipe is closed with error on a
goroutine panic, i.e. that the caller does not hang indefinitely,
for no clear reason; restore that.

Signed-off-by: Miloslav Trmač <9c008e38982a5397deb855345fb164f0558459ae@redhat.com>

containers/image,containers/image