x86: unify appropriate bits from dumpstack_32 and dumpstack_64