[PATCH 5.10 20/99] qed/qed_dev: guard against a possible division by zero