libpackage_build: Make sure built-in data dir path is absolute

Fixes #10022.