Replace deprecated llvm::Optional::getValueOr -> value_or
Replace deprecated llvm::Optional::getValueOr -> value_or

Generated by applying -Wdeprecated-declarations fixes from clang.

These are removed in https://github.com/llvm/llvm-project/commit/4b6b248731b81deb471838ff79392993aeb6c621

PiperOrigin-RevId: 490703403

tensorflow/runtime,tensorflow/runtime,tensorflow/runtime,tensorflow/runtime