Impact of Earthquake Ground Motion Characteristics on Collapse Risk of Post-Mainshock Buildings Considering Aftershocks