[PATCH 5.1 277/405] cxgb3/l2t: Fix undefined behaviour