update img16.c to avoid mm_log()