std: Move kinds to libprim
std: Move intrinsics to libprim