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

Fixes #1755

/cc @spicyj