[PATCH 5.1 292/405] thunderbolt: Fix to check the return value of kmemdup