Fix SELinux function compatibility in older trees

Change-Id: I3d8c23b51b3331d062099c1edb1833551cc6af91