fix PR17635: false positive with packed structures