[Openamp-rp] [OpenAMP/libmetal] 8041e1: lib: add guards for errno values for ARMCC compiler