Edge instabilities in thin plates with spatial variations in thickness