Resonant Magnetic X-ray Diffraction Study on Successive Metamagnetic Transitions in TbB4