[PATCH 5.2 030/143] habanalabs: fix completion queue handling when host is BE