AutoBuffer with initial zero size fixed.
Merge pull request #1366 from asmorkalov:ocv_autobuffer_fix