[added to the 4.1 stable tree] x86/asm: Use register variable to get stack pointer value