[media] coda: fix width validity check when starting to decode