[PATCH v12 01/12] lib: introduce copy_struct_{to,from}_user helpers