Fix strict aliasing violation

Credit nuclear mistake
https://github.com/VanirAOSP/platform_device_samsung_tuna/commit/832ee93ee9db68602adfbab8b8973b581e8aab1f

Change-Id: Id9dc1a19578cc48b60b77b0c99ce315f4afefbba