Add check for using cdump with DISABLE_STDIO option.

This is a kind of sanity check.