simpleperf: use 8 byte aligned stack size when resizing stack data.

When generating sample records for 32bit arm processes, the
dyn_stack_size may not be 8 byte aligned. And dyn_stack_size can be
used to calculate new stack size. If the new stack size isn't 8 byte
aligned, we can have alginment error later.

So make sure new stack size is 8 byte aligned.

Bug: 208187192
Bug: 210384787
Test: run simpleperf_unit_test
Change-Id: Ibc2f99ba766419fdb491c49317b9fb5ae13138ef
(cherry picked from commit 9290fc7b9d3609b854d2791428b2385bba427906)
1 file changed