pidl/python: Use new talloc utility functions.