tools: Add a script to help synchronize spec files that share an implementation.