[cmake] move SONAME handling to llvm_add_library