[PECOFF][Writer] Use defined constants instead of magic numbers.