Add getValueOr to llvm::Optional<T>.