Fine tuning of graphene-metal adhesion by surface alloying