Prevent dangling symlink in -debuginfo.

The debuginfo generator does not know anything about the %exclude directirve
And generates debuginfo for every library it finds. Hence, the libraries
has to be completely removed to preven this behavior. Otherwise,
debuginfo packages will contain dangling symlinks (rhbz#878863).