Rayleigh–Taylor instability in an inhomogeneous ablatively accelerated fluid