parser: Fix error recovery for DECLARE prototypes with UDT namespace prefix