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

Fixes #1755

/cc @spicyj
(Perhaps the name of the test could be clearer.)