memif: fix crash caused by zero pkt len in memif and clear dirty cache while interfac...