Existing `BKE_main_namemap_destroy` is too specific when a entire Main needs to have its namemaps cleared, since it would not handle the Library ones. While in regular situation current code is fine, ID management code that may also edit linked data needs a wider, simpler clearing tool.