harfbuzz: Only build ICU library where we also build javascriptcore-gtk

That is, not on iOS and OSX.