kalua: watch: coredump() generalize coredump-detection and ignore coredumps from hostapd after wifi_down