apps: Fix deprecation conditional in speed.c