Fix handling of PW_TYPE_DATE

Value of type PW_TYPE_DATE produces just 1 byte output, length and data are missing, subsequent avp are misaligned.