A modified alternating direction method for convex quadratically constrained quadratic semidefinite programs