Signature of magnon polarons in electron relaxation on terbium revealed by comparison with gadolinium