REFAC: use ImageMetadata instead of itk dictionary to manage NoData in the applymask mode of ManageNoData