Close IRQ in context switch to avoid abnormal sampling result.

This abnormal sampling result in issue #40 is that context
switch processing in PendSV is usually preepmtped by ktimer irq
which triggers samping event.

fixes issue #40