Conform sizeof to kernel style + uniformity.

Changing sizeof(struct name) to sizeof(*obj) for the sake of uniformity with
the style in the code as well as the recommended Kernel style.