Datatypes/wave: Fix difference between BE and LE headers