fix exec-shield test

only checks for exec-shield kernel parameter if nx flag is missing