checkpatch: improve k.alloc with multiplication and sizeof test