Only install locales-all as build dependency in chroot

Outside of a chroot it is already installed by the main manifest, which
results in a duplicate declaration error.