Several dozen people suspected of having links to Nigeria's Boko Haram have been arrested in southern Niger since the start of cross-border attacks by the Islamist group, a local governor said.