Added support for multi-thread for resizing images with `ResizeAlg::Nearest` algorithm (#54).