Assembler: fix to immediate promotion algorithm

Previously, A operands of the form [register+offset] would be changed to just offset if the offset was in the range that could be represented by an immediate literal.