SunPower Corp (NASDAQ:SPWR) on Thursday reported turning to a GAAP net loss in 2021 but also made a forecast for a solid profit in 2022.