fix ucs-2 lookup on python3.9 Work around array.array.tostring() removal in python3.9 (cherry-pick: 5d8648345c 43bec9ea3d) Signed-off-by: Jinhua Cao <caojinhua1@huawei.com>