VideoCommon: Remove gotos in ImageWrite.