cmake: fix dependency handling of .po files

Create the "translations" target with the proper dependencies, so the
.po files are not rebuilt every time (but only when changed).