producer: check MaxMessagesPerReq >= FlushMsgCount

Validate the above condition when MaxMessagesPerReq is set, as it doesn't make
sense to force a flush before one has been soft-triggered.

cc @joestein @wvanbergen