CharsetEncoderICU: Don't call updateCallback from <init>.

Changed for correctness and for consistency with CharsetDecoderICU.
The existing code is incorrect because we'd end up deleting the same
allocation twice (once from NativeAllocationRegistry's reference queue,
and once from the finally block) if updateCallback throws.

Related to b/37315864.

Test: run cts -m CtsLibcoreTestCases

Change-Id: I5425093ed7fbdc4aa69f5b9108428399b3c8c555
1 file changed