Disturbance Compensation for Safe Kinematic Control of Robotic Systems with Closed Architecture