Add kpreempt() compatibility macro

This is needed for the Illumos #4045 write throttle patch