Search for a spin-zero particle in Higgs boson decays or top-associated production using the ATLAS detector