indeo4: fix null ptr dereference