Format x86 assembly constants in a yasm compatible manner

This is similar to what was done in a6463be0cc7 - yasm requires
these constants to have a zero after $.