use a union instead of pointer casts (see blender/source/blender/blenlib/intern/math_color.c)
make _bigEndian const
update openfx