Global boundedness of the solutions to a Gurtin-MacCamy system