Consider the polynomial function g(x) = 8x5 + ax4 + 5x + 20, where a is an unknown real number. If (x+4) is a factor of g(x), what is the value of a?