System-size scan of D meson RAA and vn using PbPb, XeXe, ArAr, and OO collisions at energies available at the CERN Large Hadron Collider