If the sstate files are installed into a sysroot from the sstate cache,
the directory to the main sysroot can change and the symlinks aren't
adjusted to account for this. This is a problem specific to the toolchain
bootstrap process. This patch adds up a function to recreate the
symlinks, hence ensuring they always point at the correct location.
(From OE-Core rev: ad0baa7d2f33a865011e0c6afe29f22aa1beea32)
(From OE-Core rev: bc8a384c49c60feab9d01f8277e92ac0603c8f93)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>