Simplify offset calculation of stack frame objects for $gp restore location and