My experience was that the pipes were solidly fastened to the spigots and I found it easier to remove the spigots from the engine, and then remove the pipes from the spigots.
The phillips screws can be stubborn, but a good impact driver and appropriate bit should work. I did not strip any screw on a bike that was left outside for years, east coast. Some heat may help, but persistence and patience does it. Have to remove the front wheel and fender to properly access cylinders 2 and 3.
To remove the pipes from the spigots required some whaling, hitting fingers with a BFH and penetrating oil. I setup the spigots in a vice, loosely so only the ears rested on the sides, and the pipe dangled below, also loosely supported. Then a big socket fitting the inside pipe and some elbow grease and out they go. If the socket is squarely set each blow you will not damage the pipes, but don't be afraid of hitting they can be in there good.
Good luck