libsparse: deal with build warning messages

- mostly unused parameters
- read_all prototype not included

Change-Id: Ib7ee00614acab53a6bd6a64f7e26a8c13dbe6297

Conflicts:
	libsparse/output_file.c