Role of surface antisite defects in the formation of Schottky barriers