[PATCH 4.14 24/57] cap: fix conversions on getxattr