Stuck-at-Fault Immunity Enhancement of Memristor-Based Edge AI Systems