[PATCH 5.4 21/60] qed/qed_dev: guard against a possible division by zero