x86: fix a double-free bug for ATT syntax