Makefile: Allow overriding KDIR

This allows building against a different kernel than just the currently
running one. This is easier to use than having to change KDIR inside the
Makefile.
Merge branch 'master' into kernel3.2