On the stability of gravity-driven liquid films overflowing microstructures with sharp corners