[PATCH 4.14 146/189] init: fix false positives in W+X checking