core: sync definition of destroy_rpcs()

- reported by Victor Seva