libunistring: enable shared build

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
libunistring: update and fix update macro

Signed-off-by: Timothy Gu <timothygu99@gmail.com>