fix building in symlinked directories (#32903)
* fix building in symlinked directories
My checkout is in a symlinked directory, so that the cmake CWD differs
from its realpath:
```
$ echo $PWD
/home/[READACTED]/llama.cpp
$ realpath $PWD
/data/home/[READACTED]/llama.cpp
```
The build here fails with this error:
```
CMake Error: Unable to read from file:
../../../../../../../../data/home/[READACTED]/llama.cpp/build/ui/apps/chat/dist/_app/immutable/assets/0.Cc4cGcci.css
because:
Can't lstat ../../../../../../../../data/home/[READACTED]/llama.cpp/build/ui/apps/chat/dist/_app/immutable/assets/0.Cc4cGcci.css
CMake Error at /home/[REDACTED]/llama.cpp/scripts/ui-assets.cmake:229 (file):
file failed to compress:
/home/[REDACTED]/llama.cpp/build/ui/apps/chat/ui-gzip/_gzip/_app/immutable/assets/0.Cc4cGcci.css
Call Stack (most recent call first):
/home/[REDACTED]/llama.cpp/scripts/ui-assets.cmake:629 (emit_files)
```
This is because the cmake `emit_files` function uses relative paths and
is inconsistent about its use of realpath.
This commit fixes the build in my environment by switching from relative
to absolute paths for the archive member files, so that the distinction
between realpath and non-realpath doesn't mess things up.
* refactor: Apply suggestion
---------
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>