cmd/compile: fix htmlwriter pointer/interface confusion