Noninteracting fermionic systems with localized losses: Exact results in the hydrodynamic limit