bitfury: Move second_run logic back to libbitfury