Joule-heating induced thermal voltages in graphene three-terminal nanojunctions