Remove undefined from ol.Map#getLayers return type

It's already assumed that the collection is defined in `ol.Map#addLayer` and `ol.Map#removeLayer`.
(with `goog.asserts.assert(goog.isDef(layers));`).