Fix validate() callback signature in README

Just a simple typo corrected.