[PATCH][v4.19-v6.1] alpha: replace hardcoded stack offsets with autogenerated