assert_loop: trivial assert support library.

This covers embedded apps that just want to spin when an assertion
fires.