Update to the latest syntax changes of generate_test_code.py. This was missed in the rebase onto mbedtls-2.13.