zpool: remove redundant zpool->type string, const-ify zpool_get_type