g729dec: fix use of deprecated functions.