decode: use sizeof_message instead of assuming 256

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
decode: check lengths before memcpy & fix memcpy dest in take_ett()

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>