libcore: use unboxed closures in the fields of `TakeWhile`