Fixes alignment issues and bus errors. Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>