Change custom assert to not require Foundation additions

See https://github.com/talk-to/Chocolate/pull/49 for why we want to avoid this
dependency.