[runtime] Add an adapter between the MonoPrintCallback and the eglib GPrintFunc types.