kni: fix build with kernel < 3.1