Remove unnecessary bits of code from y_array_get_no_zeroes()

Going from "works well" to "looks pretty short, too" ;-)