[Openamp-rp] [OpenAMP/open-amp] 6a8352: Cast allocated memory to target type