Implement the unversioned std::string modifiers erase(pos, n),
append(str, pos, n), append(n, c), assign(s, n), assign(str, pos, n)
and assign(n, c) on the guest GuestLocale::String layout per ISO C++
[string.erase], [string.append] and [string.assign], and the _Xran and
_Xlen reporters through libc's _Xout_of_range and _Xlength_error.
The string capacity constants and a DeallocateStringStorage helper move
into GuestLocale.hpp so both libraries share libc's allocation policy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>