Fix the order of the arguments when writing code attributes.

This is a very old bug, which was introduced in 990aff2e 13 years ago! Apparently no one is using custom Code attributes...
3 jobs for 317796-fix-argument-order in 7 minutes and 24 seconds (queued for 1 second)