Port latest token changes to ARC 6
To be safe for the Hackathon, and also for the possible solution that we have to support ARC 6 a little while with tokens, we need to port the latest token fixes to ARC 6. This means that the code must work for older compilers.
Discussed in the Hackathon agenda planning meeting 12.08.22 Should be ready at end of August.