lima/ppir: fix crash when program uses no registers at all