[PATCH 4.19 06/36] qed/qed_dev: guard against a possible division by zero