shared library support for FreeBSD

- use handle instead of linkmap to identify DSOs

- merge rt.sections_freebsd and rt.sections_linux into rt.sections_elf_shared

- handle the few OS specific differences