ota: fix device name assert for stock 2.6 kernel and custom 3.0/3.4 kernels

Change-Id: Iec511c009931ce4d5840796f25dfea8597a78f61