Fix wrong slab size calculation in KMC_OFFSLAB situation and code cleaup

The slab size calculation in function spl_slab_size under KMC_OFFSLAB
situation is incorrect and will cause various slab cache allocation failures
if passing KMC_OFFSLAB as a flag. So correct the logic here and do some minor
code cleanup.