Use icu-config if available.

Unfortunately, pkg_config() cannot be used here because it currently
only affects $CFLAGS and $LDFLAGS but not $CXXFLAGS that we need.

This fixed build on systems whre ICU is installed in a non-system
directory.