DO NOT MERGE: Fix OsTest#test_xattr_Errno test on CTS

Since 4.9 kernel (6c6ef9f26e598fb977f60935e109cd5b266c941a), the mechanism
for calling xattr inode operations has changed. These changes led to the
incorrectness of the conditions checked in the test. This patch take into
account the aforementioned changes - softed the requirements for the
returned error codes and do not take into account the conditions under
which the test was performed (kernel version, user privileges).
Complementary to 52056d7b773b585f0044827da9f385bccdfb420352056d7 patch.

bug: 75319412
Test: libcore.io.OsTest
Change-Id: Ie74a8c5b8b9b60e6c60b69ed744c419c03f904aa
(cherry picked from commit aa84201f59bf8f32d622a9f3674cdf53d97f23b3)
1 file changed