Fix typo in PanicHandler.

This commit fixes a typo in the PanicHandler function.