wiasane: Added more debug output to WIA API functions