[UBSan] Build part of UBSan runtime that can be linked into C programs with -fno-rtti flag.