Move fprintf() to debug() and allow setting debug level via environment variable
Move fprintf() to debug() and allow setting debug level via environment variable

This prevents unexpected output to stderr.

libimobiledevice-win32/libirecovery,libimobiledevice/libirecovery,libimobiledevice-win32/libirecovery,libimobiledevice/libirecovery