I'd imagine that it'd be the head that's lost the thread not the stud

! The head material will be softer than the stud, could try running a an m8 tap through it mate and see if it will cut a thread, failing that you may have to re-tap it out to m10 if you can't take the head off and get it helicoiled.