[PATCH 5.2 029/143] habanalabs: fix endianness handling for packets from user