Vanishing of cohomology with coefficients in a locally free sheaf and pseudoconvexity