screenshooter: Abandon recording rather than use unitialised format

Abandon the recording if the format is not known - this prevents the use of an
unitialised member is the header struct.
diff --git a/src/screenshooter.c b/src/screenshooter.c
index 422c2a9..24999f3 100644
--- a/src/screenshooter.c
+++ b/src/screenshooter.c
@@ -418,7 +418,7 @@
 		break;
 	default:
 		weston_log("unknown recorder format\n");
-		break;
+		return;
 	}
 
 	header.width = output->current->width;