autotools: do not use deprecated macros

Signed-off-by: Tristan Matthews <tmatth@videolan.org>

(cherry-picked from: speexdsp@ce516455)
5 jobs for autotools/fix-deprecated-macros in 1 minute and 59 seconds (queued for 3 seconds)