[PATCH] boot: image-board: Mismatch a type between variable and return value