Xmerl avoid code server serialization

Original PR to Erlang/OTP is https://github.com/erlang/otp/pull/87 (already merged to maint)