Initial-state anisotropies and their uncertainties in ultrarelativistic heavy-ion collisions from the Monte Carlo Glauber model