Update code for API changes in libexword

Signed-off-by: Brian Johnson <brijohn@gmail.com>