indeo3: Fix reallocation code so that it doesnt become inconsistent.