Atomic-scale control of plasmon modes in graphene nanoribbons