Avoid typecasts in tinytest_macros.h

The casts here were problematic in that they tended to suppress warnings
for important type errors in your unit tests.