[libpinyin] fix import if importdict doesn't exist