Fix giant memory leack in MedianBlurTemp, remove it to MedianBlurTemporal. Migrate to a5 header.