udf: Avoid infinite loop when processing indirect ICBs
(bnc#896689 CVE-2014-6410).