Subaru Intensive Program: g-band Imaging for Science with Euclid and UNIONS