mock_sensor: fix error 'status' variable undefined.
Created by: leandro-arm
This change fixes an undefined variable error in the get_value function.
Change-Id: Ib289094dcd945057505565e1179f6f4cf561de11 Signed-off-by: Leandro Belli leandro.belli@arm.com