Cherry-pick: ICU-22753 Fix read-after-move in MF2

Upstream bug:
https://unicode-org.atlassian.net/browse/ICU-22753
Upstream commit:
https://github.com/unicode-org/icu/commit/e6ac2a292fac59032eb3ba11847a43bd5837c30c

In StaticErrors::addError() and DynamicErrors::addError(),
don't read from `e` after moving out of it.

Bug: 320769332
Test: m CtsIcu4cTestCases
Change-Id: I67826cf07419f31e0b7c55765de774f1f5f27c23
1 file changed