Wait for loop device to settle

This fixes the error posted here https://github.com/xbianonpi/xbian/issues/566 and thereby also fixes the xbian-copy feature on the Hummingboard.