CPack/Deb: Recognize shared libraries marked executable on GNU/Hurd

When running tests one test fails for GNU/Hurd since the generated file
`` is executable.  Currently it is unknown why it is
created executable.  However, some library files are being created
executable, e.g. `/lib/x86_64-linux-gnu/` is. So `file(1)`
is doing the right thing, to say that this file is ELF 64-bit LSB pie
executable instead of ELF 64-bit LSB shared object.

Fixes: #18376
2 jobs for cpack-deb-gnu-hurd