[PATCH 4.14 124/218] um: Fix out-of-bounds read in LDT setup