[PATCH v3 4/4] selftests: lib: Add wrapper script for test_scanf