Revert "Fix lock ordering in `fat_mutex_lock' to match that of `do_thread_exit'."