[PATCH 5.4 043/321] crypto: cavium - Fix the if condition to exit loop after timeout