Competitive interfacial charge transfer to graphene from the electrode contacts and surface adsorbates