net/fm: Fix the endian issue to support both endianness platforms