backport fixes including new Packaging Guidelines changes
- ghc_fix_dynamic_rpath fix
- packaging for without_shared is now done the same way as shared
- remove deprecated ghc_exclude_docdir
- remove %config(noreplace)
- only add lib pkgdir to filelist if it exists