Enable shared libraries in LLVM and build with REQUIRES_RTTI=1 as requires by some consumers. PR: ports/164324, ports/164325