Generative Memory-Guided Semantic Reasoning Model for Image Inpainting