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

Fixes #1755

/cc @spicyj
:+1: Will do.