Ok, here's a couple of ideas .
Get some molding trim t-studs that look like this.
Use a Dremel tool to grind away the rest of the broken stud.
You will need to file the base of the t -stud so that it fits inside the molding and sits flat on the molding but doesn't come up higher than...