lang/python312: Update to 3.12.12
(cherry picked from commit c7a8e0562b60f32749229062a215e03f15b3471d)