solx_devfs.c: fix gcc warnings about casting away const when reading data