Real-time onboard processing for the Photospheric Magnetic Field Imager (PMI) onboard ESA's Vigil mission