Include <stdio.h> in readlink tests
Fixes implicit declaration of function puts
which caused a failure to
identify the flavor of readlink
when implicit declaration of functions
is an error (-Werror=implicit-function-declaration
), for example with
Xcode 12 or later on macOS.