Effects of hydrogen absorption on magnetism in Ni80Fe20/Y/Pd trilayers