icarus-verilog: update revision and add head

Update icarus-verilog to 0.9.7, and add support for --HEAD at the same time.