[SP] Use correct sizeof argument in G2_TransformModel for alloc and memset.
CID:1150934, 1150933
[MP] XInput: Use correct size for memset.
[SP] XInput: Use correct size for memset.