fix severe error in overlays handling introduced with r3227 

Styles using a an overlays file did no longer work.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/trunk@3246 25d90789-57f7-4ee0-8453-03a3dfeeeb22