selftest.pl: Fix typo 'snprintf' -> 'sprintf'.