iscsi-target: Use kmemdup rather than duplicating its implementation