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

Fixes #1755

/cc @spicyj
:+1: Will revisit the code then.