[PATCH openEuler-1.0-LTS 10/36] task_stack: Fix end_of_stack() for architectures with upwards-growing stack