kernel: add a helper to get an owning user namespace for a namespace