Philippine union slams Duterte for ‘attack’ on media