Text this: Mask Optimization for Image Inpainting Using No-Reference Image Quality Assessment