Define macro AV_NE() and use it in libavdevice.