Site-dependent lattice dynamics in periodically rippled graphene on Ru(0001)