hwcontext_internal: add ff_hwframe_map_replace