Adaptive Cross-Layer Attention for Image Restoration