[3.13] gh-126991: Add tests for unpickling bad object state (GH-127031) (GH-127063) This catches a memory leak in loading the BUILD opcode. (cherry picked from commit addb225f3823b03774cddacce35214dd471bec46) Co-authored-by: Serhiy Storchaka <[email protected]>