Fix mismatched CreateImage declaration.