md-cluster: Fix potential error pointer dereference in resize_bitmaps()