[PATCH 4.18 195/228] ice: Fix multiple static analyser warnings