lima/gpir: add helper function for emit load node