Forint strengthens slightly against major currencies