kernel: arm: core: Fix thread monitor wrapping

This fixes the wrapping of the thread monitor specific parts of the
new thread code.

Signed-off-by: Andy Gross <andy.gross@linaro.org>
1 file changed