libmp3lame: improve error handling in MP3lame_encode_init()