Adaptive Masked Weight Imprinting for Few-Shot Segmentation