parser: Look for UDT in flat-layout detection

Signed-off-by: Michael Buesch <m@bues.ch>