[PATCH 5.15 564/644] memstick: Fix deadlock by moving removing flag earlier