aosp-stable: Workaround dalvik cache issue in flash_image