THUMB2: modified implementation of function "thumb2_plain_immediate"