czmq: add HEAD option

Closes #21730.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>