Fix division by zero in Perfdata.php

Fixes #5708

Signed-off-by: Michael Friedrich <Michael.Friedrich@netways.de>