[HB] Fix apply_lookup() loop Part of Bug 595539 - Regressions in rendering certain Thai sequences with OpenType font