Use LLVM apis for understanding TBD files instead of parsing the yaml directly. This prevents breaking the compiler when TBD-v5 exists which is in json.