Apply patch for HARMONY-6439 [classlib][luni] NullPointerException thrown in certain Serialization cases