[PATCH v2 1/2] radeon: fix coding issues reported from sparse