Theory of spin-orbit-induced spin relaxation in functionalized graphene