Check `ReactChildren.{map, forEach}` callback argument

Fixes #1755

/cc @spicyj
Frankly, I would like to also check that the first argument (`children`) is *not* a function, but then we’d get into overzealous argument checking.