[coop] Switch loader_mutex to coop implementation