Use --head flag instead of -X HEAD when logging curl lines for HEAD requests in
debug mode.

Reported by Brian Metzler, part of LIBCLOUD-552.