Actor, who stars as FBI profiler Emily Prentiss, said she will undergo surgery to repair the fracture