Fix two compilations errors for lib.reds

With the last versions of Red, the compiler detect two errors.