[sr-dev] [kamailio/kamailio] cmake: Link internal libraries to core and remove them from modules (PR #4059)