Just redirect him to something else, like playing with a toy. Dogs hump in play, some do it as out an outlet for excitement. I would use redirection, if he won't stop and do something else, then simply stand up and leave the room when he starts. Or you could put it on cue for when you want a good laugh . . .
