[PATCH] firmware: fix BUG: in fw_realloc_buffer