plug-ins: fix unused variable warnings in tiff load and save