Design Patterns for Detecting and Mitigating Bias in Edge AI