protothreads: Add PT_EXIT_ON()

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>