ALSA: tlv: compute TLV_*_ITEM lengths automatically