Impact Analysis of the Memristor Failure on Real-Time Control System of Robotic Arm