app: fastboot: implement command 'fastboot getvar all'
[lib][zlib] fix signed vs unsigned comparison