[media] wl128x: fix compiler warning + wrong write() return