Properly cast nswbuf to long.

Note this is a direct commit to stable/9 because head was fixed with vmem(9)
commit (r252330).

Reported by:	John Hood (jhood at niksun dot com)
Make kern.nswbuf tunable from loader.