nfs41: move device id generation into a dedicated method

Acked-by: Karsten Schwank