Fade to grey: systematic variation of galaxy attenuation curves with galaxy properties in the EAGLE simulations