app_stack: Add missing unlock in off-nominal path of STACK_PEEK function.