hooks/post-install/99-pkglint: add checks for missing shlibs and SONAME bumps.

Created by Gottox and minor fixes by myself.