Fix minor compiler warnings in test_cad_platforms.c