[composer] Prevent atlas crash when layer has bad features (refs #11037)