on assertion failure, print where happened and where
Shared/newlib/mkconfig: strip \r so that we don't end up mixing DOS and Unix

... which in turn makes vi show those nasty ^Ms.