fs/namespace: convert devname allocation to kstrdup_const