Gantz gives up on forming government