[3.9] bpo-41052: Opt out serialization/deserialization for _random.Random (GH-21002). (GH-21030)

(cherry picked from commit 6989af0bc7ea1e9a1acea16794e6f723d7b44110)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
4 files changed