Fix setting transaction timeout from CPL script.

Using AVPs in obsolete; we need to do it now via the TM API.

(cherry picked from commit 307c1730bd205b96ba9ea22d51d998956a26d773)