Fix NE when DumpKernelStack

Before kernel_stack_frames.pop_back(),
check whether kernel_stack_frames is empty.

Bug: 72759265
Test: manual

Change-Id: I3e52d0a38ff868a278da94b2b80d44a324514934
Signed-off-by: yuanhao <yuanhao@xiaomi.com>
1 file changed