Fix for opt_worktime on big endian machines.