Drilling out the center will let water in, it will rot.
And the wood will still bend the rod, if it decides to get highly warped again.
Best bet is to put at least two long lag screws or better yet timber screws into the bricks, at the mortar joints.
If you drill the brick, they might crack.
I would use 1.5 inch long blue ribbed plastic anchors, they hold really well.
I used to be able to find them in two inch length, but not lately.
Timber screws are what is used to screw 4x4’s to each other, like in a retaining wall.
Long, fairly thin, very strong, hex head to be driven by a drill or driver or socket wrench.
You can drill a hole through the wood slightly bigger than the plastic anchor, so you can tap the anchor through it.
Then drill through that hole with the correct size masonry bit, usually 5/16 inch for blue ribbed anchors.
Drill a little deeper than two inches.
And blow out the dust from the hole afterwards.
Hole needs to be precise or plastic anchors won’t grab properly.
Then add a stainless or galv washer to keep the hex head from crushing into the drilled hole in the 4x4.