sao: fix signed loop bounds bug

--HG--
extra : amend_source : ec61fad5434e5333189789edfd5cb0e7988409a1