Support SerializeObjectState for System.Exception (bug #39824)