tools/sdimage: Fix build with host Linux headers < 3.18