lightnvm: fix reading of nchannels

Remember to convert endianness before using.