[Support] Port ErrorOr<T> from lld to C++03.