Bump the soname to 7 once

since the C++ versions used up to 6. We'll use symbol versioning from
now one.

AC magic borrowed from libvirt-glib.