Superconducting critical temperature in the extended diffusive Sachdev-Ye-Kitaev model