Responsible Design of Edge AI: A Pattern Approach for Detecting and Mitigating Bias