weston: Properly test for output-creation failure
We were testing the wrong variable to see if output creation had failed: instead of testing the return of the function we'd just called, we were testing something we'd already checked earlier.
Signed-off-by: Daniel Stone daniels@collabora.com