A weighted W2,p-a priori bound for a class of elliptic operators