boot_mode_string is uninitialized. strlen() might return random number
if the string is uninitialized. Use sizeof() to return the correct
buffer size of boot_mode_string and suzyq_enabled.
Bug: 156691424
Fixes: 599cf88e6311 ("pd_engine: Parse kernel command line")
Fixes: 0516a77cbc3c ("pd_engine: Set port_type to Sink in charger mode")
Test: bootmode is correctly copied to boot_mode_string
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I0bc60c8eecd39f230156d2ee80c58934a333cf7c