[PATCH 5.1 327/405] thunderbolt: Fix to check for kmemdup failure