sha[1|512]-x86_64.pl: fix logical errors with $shaext=0.
apps/speed.c: fix compiler warnings in multiblock_speed().