kconfig: avoid multiple calls to strlen
kconfig: avoid multiple calls to strlen

Calls to strlen are costly, so avoid calling strln as much as we can.

Reported-by: Jean Delvare <efca98801f3398ebd7eeff805a2c18e6c49e84d4@suse.de>
Signed-off-by: "Yann E. MORIN" <b375a36861a21dce61868a5a9b415811d17b4e97@free.fr>
Cc: Jean Delvare <efca98801f3398ebd7eeff805a2c18e6c49e84d4@suse.de>
Reviewed-by: Jean Delvare <efca98801f3398ebd7eeff805a2c18e6c49e84d4@suse.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs