unicode: specialize `utf8proc_map` sufficiently (#54385)
This specialization is more consistent with the callees of this
function, which are specialized on the type / identity of this transform
function.
This cleans up an unnecessary dynamic dispatch in this code.
Co-authored-by: gbaraldi <baraldigabriel@gmail.com>