Adjustable hinge for gates