It being triggered certainly depends on very specific microarchitectural conditions that happen to be created by the instructions generated for those two functions and the 16-byte alignment also happens to be one of the required triggers.
Applying this fix to all other functions would certainly bloat the binary due to unnecessary padding and likely reduce performance for all, since the shipped binary is same for everyone.