[PATCH 6.17 511/849] media: redrat3: use int type to store negative error codes