emit_x64: refactor add->inc/dec/add/sub logic into a macro