Try to fix GCC error about invalid use of const_cast in const version of ErrorOr...