Quantification of influence of the crystal-surface roughness on the angular spread of x-ray diffracted beam