queue_led_state_change() - Fix unterminated string warning
queue_led_state_change() - Fix unterminated string warning

struct led_set_cmd cmd is zalloc. While doing strncpy of
loc_code to cmd->loc_code, there are chances of cmd->loc_code
being unterminated. Fix the issue by copying LOC_CODE_SIZE - 1.

Fixes Coverity defect #100249.

Signed-off-by: Kamalesh Babulal <30b3129b1a1b0120e30fdc2f7d8e6560be5d0735@linux.vnet.ibm.com>
Cc: Ananth N Mavinakayanahalli <7dc108d19a2513f6455353af182b9e4d3b794ec9@in.ibm.com>
Cc: Vasant Hegde <a6d753843573f7bfed5075c1e875b0be8007a0ab@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>

open-power/skiboot,ddstreet/skiboot,qemu/skiboot,csmart/skiboot,mikey/skiboot,legoater/skiboot,mikey/skiboot,mikey/skiboot,apopple/skiboot,qemu/skiboot,legoater/skiboot,open-power/skiboot,open-power/skiboot,legoater/skiboot,qemu/skiboot,apopple/skiboot,stewart-ibm/skiboot,open-power/skiboot,ddstreet/skiboot,csmart/skiboot,stewart-ibm/skiboot,legoater/skiboot,shenki/skiboot,shenki/skiboot,csmart/skiboot,legoater/skiboot,ddstreet/skiboot,shenki/skiboot,qemu/skiboot,apopple/skiboot,shenki/skiboot,stewart-ibm/skiboot,qemu/skiboot,open-power/skiboot,shenki/skiboot