Fix error reporting breakage.

Wasn't shown up by the non-"# icu" spectests, so went unnoticed in the
commit that introduced it.