Fix #1839 - Fix crash in dalvik flagname parser