Travis: Use gcc-4.8 for make check

The tests rely on newer -Wstack-usage flags that are not present on the
old version of gcc shipped with 12.04. Install 4.8 from the repository.

Signed-off-by: Joel Stanley <joel@jms.id.au>