src: avoid breaking strict-aliasing rules

- The compiler was complaining when building the module for node 0.11.13