HPD officer wounded, gunman killed in shootout