Reinforcement Learning on Reconfigurable Hardware: Overcoming Material Variability in Laser Material Processing