SI-6935 Added readResolve in BoxedUnit
When deserializing Unit, it would return an instance of Object, but not a Scala Unit.
By adding readResolve, the deserialization of Unit will work.
Merge pull request #2097 from ViniciusMiana/SI-6935

SI-6935 Added readResolve in BoxedUnit