vector layer: don't crash on missing labels in invalid layers la(fix #9514)