On the Lx-L6micron ratio as a diagnostic for Compton-thick AGN