Layer visibility in newer files is int (instead of bool).

Tiled 0.9.x saves layers with visible=1