Packaging fixes for PACKAGE_DEBUG_SPLIT_STYLE="debug-file-directory"

Moving stuff from adit-custom/split-debug