su.c: fix property check due to lineage rebranding

Due to lineage rebranding, the property 'ro.cm.version' needs to be
replaced with 'ro.lineage.version' in su.c, otherwise, the check for
'access_disabled' always returns false and may lead to undefined
behavior. To avoid such undefined behavior, su should refuse to work
on builds without the 'ro.lineage.version' property.

Change-Id: I59632ad4bfdc055e53cfac7c8e9c02a65ed58373
2 files changed