A priori error analysis of shape derivatives of linear functionals in structural topology optimization