Switch %as usage to %ms

As well as appeasing cppcheck, this also keeps newer toolchains happy,
which for some reason started warning.