[Openamp-rp] [OpenAMP/libmetal] f5d4c6: Add reference count to metal_common_state