Fix a another memory leak in etctool.
Fix a another memory leak in etctool.

imgdec = (unsigned char*) malloc(expandedwidth*expandedheight*3);
is called before the if statement "if((f=fopen(dstfile,"wb")))"

If the file 'f' failed in the if statement, it would never be freed (since "free(imgdec)" was within that if block.

Ced2911/native,unknownbrackets/native,hrydgard/native,Ced2911/native,zhykzhykzhyk/ppsspp-native,unknownbrackets/native,zhykzhykzhyk/ppsspp-native,zhykzhykzhyk/ppsspp-native,libretro/ppsspp-native,libretro/ppsspp-native,unknownbrackets/native,zhykzhykzhyk/ppsspp-native,Ced2911/native,libretro/ppsspp-native,libretro/ppsspp-native,hrydgard/native,unknownbrackets/native,hrydgard/native,hrydgard/native