[XFRM] user: Move attribute copying code into copy_to_user_state_extra