[PATCH AUTOSEL 5.2 31/44] habanalabs: fix endianness handling for packets from user