kernel: Silence gcc47's -Wcast-qual warnings.
hammer - Change depth limit warning kprintf to krateprintf

* Limit a warning kprintf to 1hz.