ImageWriter: Add abandoned surface exception test

Queueing or dequeueing an image from an image writer should
throw an IllegalStateException if the input surface is
abandoned.

Bug: 22279111
Change-Id: I7848d69d5c70ce91999eb7f803abc8e2ba6494d7
1 file changed