lang/python313: fix pkg-config link logic for suffixed
(cherry picked from commit d4f2b679758bc0932507ac9fff1b0b589190291f)