fw_printenv: Fix crash due to incorrect size for malloc'ed string.