recoverymap: fix the calculation of string size

Bug: b/252835416
Test: build

Change-Id: I246113a25e85307b059183ab193896e687c4098a
1 file changed