Influence of structural disorder on bound states in the continuum