or1k: remove usage of union. Fix checkpatch error and warnings.