[U-Boot] Compilation errors after enabling the flash support