Revert "hostapd: Fix aliasing violation"

This reverts commit ee29249eb975cc07e6764951ce1b8ac08c2984ff.