Fix the issue text detection sample fails with floating point exception when ipp option is on

Fix #43 by not calling meanStdDev if the number of src is zero.