regmap: fix possible memory corruption in regmap_bulk_read()