testcase: also check non executable lib for missing rpaths

Our condition was only checking executables, which missed some non
executable libraries.
1 job for fix/testcase-check-non-executable-rpath in 0 seconds
Status Job ID Name Coverage
  External
failed SlapOS.SoftwareReleases.IntegrationTest-Jerome-WIP

04:17:21