vmware-modules fix for 3.11, 3.12 kernels

I pulled these patches from different online sources. The modules compile for 3.11 and 3.12 respectively. Should this be submitted upstream to the Gentoo repo? I didn't check, since it's far less convenient to do so without the use of git + github.