Clean use of av_strerror

* Use macro AV_ERROR_MAX_STRING_SIZE.
* Get size of errbuf with sizeof array.